package com.chen.yygh.cmn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chen.yygh.model.cmn.Dict;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;


public interface DictService extends IService<Dict> {
    List<Dict> findChlidData(Long id);

    void exportDictData(HttpServletResponse response);

    void importData(MultipartFile file);

    //根据Dictcode与value值进行查询
    String getNameByParentDictCodeAndValue(String dictCode, String value);

    //根据dictCode获取下级节点
    List<Dict> findByDictCode(String dictCode);
}
